/*
 * BackEndServerInfo.h
 *
 *  Created on: 2013. 11. 22.
 *      Author: jjaehuny
 */

#ifndef PROJECTZ_NLOGIC_BACKENDSERVERINFO_H_
#define PROJECTZ_NLOGIC_BACKENDSERVERINFO_H_

namespace ProjectZ {
class User;
} /*ProjectZ*/

namespace ProjectZ { namespace NLogic {

class BackEndServerInfo
{
public:
	struct Data
	{
		int 		_cacheServerIndex;
		int			_locationServerIndex;
		int			_friendsServerIndex;
		int			_guildServerIndex;

		void Clear()
		{
			_cacheServerIndex = -1;
			_locationServerIndex = -1;
			_friendsServerIndex = -1;
			_guildServerIndex	= -1;
		}
	};
public:
	BackEndServerInfo();
	virtual ~BackEndServerInfo();

	void		Initialize();

	Data &		GetData() { return _clsData; }

private:
	Data _clsData;
};

} /*NLogic*/ } /* namespace ProjectZ */

#endif /* PROJECTZ_NLOGIC_BACKENDSERVERINFO_H_ */
